home *** CD-ROM | disk | FTP | other *** search
- 157
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- MakeShortcut
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMakeShortcut creates a Windows 95/NT shortcut or Macintosh alias.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baMakeShortcut( FileName , Path , Title )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, String.
- --- RECORDSEPARATOR ---
- FileName is the file that the shortcut will point to.
- --- RECORDSEPARATOR ---
- Path is the folder that the shortcut will be created in.
- --- RECORDSEPARATOR ---
- Title is the name of the shortcut.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- I
- --- RECORDSEPARATOR ---
- nteger.
- --- RECORDSEPARATOR ---
- Returns 1 if successful, else 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set OK = baMakeShortcut( "d:\mworld.exe", "c:\windows\desktop", "Multimedia
- --- RECORDSEPARATOR ---
- World" )
- --- RECORDSEPARATOR ---
- set OK = baMakeShortcut( "MMCD:MM World", "Mac HD:Desktop Folder",
- --- RECORDSEPARATOR ---
- "Multimedia World" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baMakeShortcut( "d:\\mworld.exe" , "c:\\windows\\desktop" , "Multimedia
- --- RECORDSEPARATOR ---
- World" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , this function is only available in the 32 bit version running under
- --- RECORDSEPARATOR ---
- Windows 95 or NT4. If used in 16 bit or under earlier versions of NT, it will do
- --- RECORDSEPARATOR ---
- nothing and return 0.
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , if the file the alias points to contains a custom icon, it will not be
- --- RECORDSEPARATOR ---
- copied to the alias file. The Finder will update the alias when the file is run.